package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 s_car
 * 
 * @author ruoyi
 * @date 2024-12-27
 */
public class SCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 车名称 */
    @Excel(name = "车名称")
    private String name;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNo;

    /** 车型号 */
    @Excel(name = "车型号")
    private String carXinghao;

    /** 车颜色 */
    @Excel(name = "车颜色")
    private String carColor;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 宽度 */
    @Excel(name = "宽度")
    private String carWeight;

    /** 长度 */
    @Excel(name = "长度")
    private String carHeight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }

    public void setCarXinghao(String carXinghao) 
    {
        this.carXinghao = carXinghao;
    }

    public String getCarXinghao() 
    {
        return carXinghao;
    }

    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setCarWeight(String carWeight) 
    {
        this.carWeight = carWeight;
    }

    public String getCarWeight() 
    {
        return carWeight;
    }

    public void setCarHeight(String carHeight) 
    {
        this.carHeight = carHeight;
    }

    public String getCarHeight() 
    {
        return carHeight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("carNo", getCarNo())
            .append("carXinghao", getCarXinghao())
            .append("carColor", getCarColor())
            .append("phone", getPhone())
            .append("idCard", getIdCard())
            .append("carWeight", getCarWeight())
            .append("carHeight", getCarHeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
